<html>
  <head>
<title>dang_nhap</title>
<link rel="stylesheet" href="index.css">
<script>
function thong_dich()
{
    if (document.getElementById("nn").value == "en")
	{
	    document.getElementById("f_name").innerHTML="Login";
	    document.getElementById("rtdn").innerHTML="User name";
	    document.getElementById("rmk").innerHTML="Password";
	    document.getElementById("rnn").innerHTML="Language";
	    document.getElementById("dn").value="Login";
	}
    else {
	    document.getElementById("f_name").innerHTML="Đăng nhập";
	    document.getElementById("rtdn").innerHTML="Tên đăng nhập";
	    document.getElementById("rmk").innerHTML="Mật khẩu";
	    document.getElementById("rnn").innerHTML="Ngôn ngữ";
	    document.getElementById("dn").value="Đăng nhập";
	}
	
}
</script>
</head>
<body>
<h1>dang_nhap</h1>
<table>
  <tr>
    <td id="f_name" colspan="2" >Đăng nhập</td>
  </tr>
  <tr><td colspan="2"><hr></td></tr>
  <tr>
    <td id="rtdn">Tên đăng nhập </td>
    <td class="input"><input type="text" name="tdn"></td>
  </tr>
  <tr>
    <td id="rmk">Mật khẩu </td>
    <td class="input"><input type="text" name="mk"></td>
  </tr>
  <tr>
    <td id="rnn">Ngôn ngữ </td>
    <td class="input"><select id="nn" onchange="thong_dich()">
	<option value="tv">Tieng Viet</option>
	<option value="en">English</option>
      </select>
    </td>
  </tr>
  <tr><td colspan="2"><hr></td></tr>
  <tr>
    <td align="center"  colspan="2"><input id="dn" type="submit" value="Đăng nhập"></td>
  </tr>
</table>
<address>
<a href="mailto:thien@thien-PC">U-thien-PC\thien</a>
</address>
</body>
</html>
